import request from '@/utils/request'

// 查询报告自定参数列表
export function listWordOnlineParamsCustom(query) {
  return request({
    url: '/word/wordOnlineParamsCustom/list',
    method: 'get',
    params: query
  })
}

// 查询报告自定参数详细
export function getWordOnlineParamsCustom(id) {
  return request({
    url: '/word/wordOnlineParamsCustom/' + id,
    method: 'get'
  })
}

// 保存报告自定参数
export function saveWordOnlineParamsCustom(data) {
  return request({
    url: '/word/wordOnlineParamsCustom/save',
    method: 'post',
    data: data
  })
}

// 删除报告自定参数
export function delWordOnlineParamsCustom(id) {
  return request({
    url: '/word/wordOnlineParamsCustom/' + id,
    method: 'delete'
  })
}

// 导出报告自定参数
export function exportWordOnlineParamsCustom(query) {
  return request({
    url: '/word/wordOnlineParamsCustom/export',
    method: 'get',
    params: query
  })
}
